package hcn.protocol.registration.xml;


import hcn.protocol.registration.MsgHeader;
import hcn.protocol.registration.xml.resq.GetRegistrationFormReq;;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Date 2020/12/24 15:11
 * @Description:
 * 挂号单
 * @Version 1.0
 */
@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetRegistrationFormResponseXML {
    private MsgHeader MsgHeader;
    private MsgBody MsgBody;

    public MsgHeader getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeader msgHeader) {
        MsgHeader = msgHeader;
    }

    public GetRegistrationFormResponseXML.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(GetRegistrationFormResponseXML.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private Data Data;

        public String getStatus() {
            return Status;
        }

        public void setStatus(String status) {
            Status = status;
        }

        public String getCode() {
            return Code;
        }

        public void setCode(String code) {
            Code = code;
        }

        public String getDetail() {
            return Detail;
        }

        public void setDetail(String detail) {
            Detail = detail;
        }

        public Data getData() {
            return Data;
        }

        public void setData(Data data) {
            Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{
            private String Total;
            private Records Records;

            public String getTotal() {
                return Total;
            }

            public void setTotal(String total) {
                Total = total;
            }

            public GetRegistrationFormResponseXML.MsgBody.Data.Records getRecords() {
                return Records;
            }

            public void setRecords(GetRegistrationFormResponseXML.MsgBody.Data.Records records) {
                Records = records;
            }

            @XmlRootElement(name = "Records")
            @XmlAccessorType(XmlAccessType.FIELD)
            public static class Records{
                private List<GetRegistrationFormReq> Record;

                public List<GetRegistrationFormReq> getRecord() {
                    return Record;
                }

                public void setRecord(List<GetRegistrationFormReq> record) {
                    Record = record;
                }
            }
        }
    }









}
